Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Scheduler Class / NavigateToAppointment Method / NavigateToAppointment(BaseObject,Boolean,Nullable<DateTime>) Method
An owner object determining the SchedulerGroupItem to search through.
If true, means the backward direction; forward direction otherwise.
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the C1Scheduler.SelectedDateTime property value.

In This Topic
    NavigateToAppointment(BaseObject,Boolean,Nullable<DateTime>) Method
    In This Topic
    Navigates the C1Scheduler control to the nearest C1.Schedule.Appointment in the GroupItems with the specified owner object.
    Syntax
    'Declaration
     
    
    Public Overloads Function NavigateToAppointment( _
       ByVal owner As BaseObject, _
       ByVal previous As Boolean, _
       ByVal startTime As Nullable(Of Date) _
    ) As Boolean
    public bool NavigateToAppointment( 
       BaseObject owner,
       bool previous,
       Nullable<DateTime> startTime
    )

    Parameters

    owner
    An owner object determining the SchedulerGroupItem to search through.
    previous
    If true, means the backward direction; forward direction otherwise.
    startTime
    The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the C1Scheduler.SelectedDateTime property value.

    Return Value

    True if navigation has occurred; False if there are no appointments in the specified direction.
    See Also